package com.bojiu.lawsearch.lawsearch.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author: afdiao
 * @Date：2020/4/6 16:52
 * @Description: 微信支付的订单号关联的模块名
 */
@Table(name = "wxzf_model")
@Data
public class Wxzf_model {
    @Column(name = "id")
    private Integer id;

    @Column(name = "orderNum")
    private String orderNum;

    /**
     * 关联的模块
     * question    发布任务
     * member    开通会员
     * fee    充值余额
     */
    @Column(name = "model")
    private String model;

    @Column(name = "price")
    private Integer price;

    /**
     * 处理状态
     * 1 返回通知成功
     * 0 未处理
     */
    @Column(name = "handle")
    public Integer handle;

    @Column(name = "goodsId")
    public Integer goodsId;

    @Column(name = "userId")
    private Integer userId;
}
